﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.RbacData.Domain.Traceabilitys
{
    /// <summary>
    /// 屠宰企业信息
    /// </summary>
    public class SlaughterCorporateModel
    {

        /// <summary>
        /// 屠宰企业编号
        /// </summary>
        [Key]

        public int SlaughterCorporateId { get; set; }


        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { get; set; } = null!;


        /// <summary>
        /// 公司地址
        /// </summary>
        public int CompanyAddressId { get; set; } 

        /// <summary>
        /// 公司详细地址
        /// </summary>
        public string CompanyArrdess {  get; set; }=null!;

        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime EstablishmentTime { get; set; }

        /// <summary>
        /// 公司简介
        /// </summary>
        public string CompanyProfile {  get; set; } = null!;

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Creatime { get; set; }


        /// <summary>
        /// 溯源编号
        /// </summary>
        public int  ProductId { get; set; }


    }
}
